#ifndef INITPOINT_H
#define INITPOINT_H

#include "package.h"
#include <QWidget>
#include <QFile>

namespace Ui {
class initPoint;
}

class initPoint : public QWidget
{
    Q_OBJECT

public:
    explicit initPoint(QWidget *parent = nullptr);
    ~initPoint();

    QFile pointFile;
    QString pointFilePath = "../Campus-guide-system-of-BUPT/File/point.txt";
    int x;
    int y;
    int campus;
    int type = 0;

    void SavePoint(QString name);
    void Init(void);

private slots:
    void GetPoint(int x, int y, int campus);

private:
    Ui::initPoint *ui;
};

#endif // INITPOINT_H
